/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Dakalo
 */
public class Field 
{
    private String fieldName;
    private String accmode;
    private String fieldType;
    private String array;
    private String variableScope;
    private int lineNum;
    
    Field()
    {
        fieldName = "";
        accmode = "";
        fieldType = "";
        lineNum = -1;
    }

    /**
     * @return the fieldName
     */
    public String getFieldName() {
        return fieldName;
    }

    /**
     * @param fieldName the fieldName to set
     */
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    /**
     * @return the accmode
     */
    public String getAccmode() {
        return accmode;
    }

    /**
     * @param accmode the accmode to set
     */
    public void setAccmode(String accmode) {
        this.accmode = accmode;
    }

    /**
     * @return the fieldType
     */
    public String getFieldType() {
        return fieldType;
    }

    /**
     * @param fieldType the fieldType to set
     */
    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    /**
     * @return the array
     */
    public String getArray() {
        return array;
    }

    /**
     * @param array the array to set
     */
    public void setArray(boolean array) {
        if(array == true)
            this.array = "true";
        else
            this.array = "false";
    }

    /**
     * @return the variableScope
     */
    public String getVariableScope() {
        return variableScope;
    }

    /**
     * @param variableScope the variableScope to set
     */
    public void setVariableScope(String variableScope) {
        this.variableScope = variableScope;
    }

    /**
     * @return the lineNum
     */
    public int getLineNum() {
        return lineNum;
    }

    /**
     * @param lineNum the lineNum to set
     */
    public void setLineNum(int lineNum) {
        this.lineNum = lineNum;
    }
    

}
